ScssPhp\ScssPhp\Compiler D

Total Complexity 1,799
Dependencies 42
Dependents 4
Total lines 10,371
Lines of code 5,670
Logical lines of code 3,769
Comment lines 2,420
Methods 302
Properties 141

Methods 302

Method Rating Maintainability Complexity Lines of code
compileChild()
D
3
119 378
compileValue()
D
18
74 195
reduce()
D
28
49 109
alterColor()
D
29 42 101
libHsl()
C
37 32 62
matchExtends()
C
33 29 89
cssValidArg()
C
36 30 74
compileMediaQuery()
C
34 28 90
matchExtendsSingle()
C
34 28 86
compileString()
C
32 26 99
coerceColor()
C
35 27 84
libJoin()
B
40 24 53
evaluateArguments()
B
37 21 72
getFunctionReference()
B
39 22 51
findImport()
B
39 21 60
sortNativeFunctionArgs()
B
39 19 59
applyArguments()
B
39 18 64
unifyCompoundSelectors()
B
41 17 59
opColorColor()
B
42 17 49
fncall()
B
43 17 45
get()
B
44 17 43
isSuperSelector()
B
42 16 57
verifyPrototype()
A
43 15 45
evaluateMediaQuery()
A
44 15 42
mergeMediaTypes()
A
47 14 41
filterScopeWithWithout()
A
43 13 50
setExisting()
A
46 13 39
joinSelectors()
A
46 13 38
isWith()
A
49 13 29
multiplySelectors()
A
46 12 39
combineSelectorSingle()
A
47 12 36
libIndex()
A
48 12 31
flattenSelectors()
A
46 11 38
escapeNonPrintableChars()
A
48 11 33
compileImport()
A
48 11 32
inspectFormatValue()
A
48 11 32
compileDirective()
A
49 11 29
libRgb()
A
47 10 37
evalSelectorPart()
A
55 11 17
compileColorPartValue()
A
50 10 30
normalizeValue()
A
49 10 29
pushOrMergeExtentedSelector()
A
50 10 28
compileMedia()
A
45 9 43
coerceValue()
A
52 10 26
mergeDirectRelationships()
A
51 10 26
libAppend()
A
50 10 25
glueFunctionSelectors()
A
53 10 22
multiplyMedia()
A
47 9 36
getTypeOf()
A
54 10 21
getSelectorArg()
A
49 9 30
opOr()
A
58 10 14
opAnd()
A
58 10 14
selectorAppend()
A
51 9 28
checkPrototypeMatches()
A
52 9 25
callNativeFunction()
A
51 9 24
collapseSelectorsAsList()
A
47 8 38
compileChildrenNoReturn()
A
54 9 20
callStackMessage()
A
53 9 20
compileWith()
A
48 8 33
mergeParts()
A
51 8 29
modifyNestedMap()
A
51 8 28
stringifyFncallArgs()
A
50 8 28
coerceList()
A
51 8 27
appendRootDirective()
A
51 8 26
compileAtRoot()
A
46 7 39
matchPartInCompound()
A
53 8 24
isFreshCachedResult()
A
54 8 21
parseFunctionPrototype()
A
48 7 33
extendOrReplaceSelectors()
S
51 7 26
libMapMerge()
S
52 7 23
selectFunctionPrototype()
S
54 7 21
expToString()
S
55 7 20
compileNestedBlock()
S
48 6 32
libListSeparator()
S
56 7 16
applyArgumentsToDeclaration()
S
50 6 28
libZip()
S
52 6 26
libMix()
S
52 6 22
compileCommentValue()
S
56 6 19
libMapGet()
S
55 6 19
flattenSelectorSingle()
S
56 6 19
hueToRGB()
S
57 6 17
libMapHasKey()
S
56 6 16
injectVariables()
S
58 6 15
checkSelectorArgType()
S
59 6 14
hasSelectorPlaceholder()
S
60 6 13
findScopeSelectors()
S
61 6 13
shouldEval()
S
61 6 12
libStrSlice()
S
51 5 27
completeScope()
S
61 6 11
libRandom()
S
51 5 25
toHSL()
S
52 5 23
errorArgsNumber()
S
53 5 23
evalSelectors()
S
53 5 22
callScssFunction()
S
53 5 22
compileNestedPropertiesBlock()
S
53 5 22
appendOutputLine()
S
55 5 20
libMapRemove()
S
56 5 18
opAdd()
S
58 5 17
escapeImportPathString()
S
57 5 17
replaceSelfSelector()
S
58 5 16
testWithWithout()
S
68 6 6
tryMap()
S
60 5 15
extractRelationshipFromFragment()
S
58 5 15
fixColor()
S
59 5 14
handleImportLoop()
S
59 5 14
libKeywords()
S
58 5 14
isSuperPart()
S
60 5 13
libMax()
S
60 5 13
importFile()
S
50 4 28
libMin()
S
60 5 13
addVariables()
S
60 5 12
libSelectorNest()
S
53 4 22
compileBlock()
S
54 4 22
collapseSelectors()
S
55 4 22
libCall()
S
54 4 20
RGBtoHWB()
S
56 4 17
libInvert()
S
56 4 16
compileSelectorPart()
S
58 4 16
stringTransformAsciiOnly()
S
58 4 16
getPrettyPath()
S
59 4 15
libAdjustColor()
S
60 4 15
missingSelectors()
S
58 4 15
compile()
S
58 4 14
filterWithWithout()
S
59 4 14
listSeparatorForJoin()
S
59 4 14
libSetNth()
S
59 4 14
checkImportPathConflicts()
S
60 4 13
libGetFunction()
S
60 4 12
compileStringContent()
S
62 4 11
libSelectorExtend()
S
61 4 11
libSelectorReplace()
S
61 4 11
makeOutputBlock()
S
55 3 19
libStrInsert()
S
56 3 19
HWBtoRGB()
S
57 3 16
extractSlashAlphaInColorFunction()
S
64 4 9
toRGB()
S
57 3 15
libNth()
S
62 4 10
getArgumentListKeywords()
S
68 4 6
libScssphpGlob()
S
57 3 15
mediaParent()
S
65 4 9
backPropagateEnv()
S
67 4 7
opColorNumber()
S
61 3 14
opNumberColor()
S
61 3 14
libFunctionExists()
S
60 3 13
addLocationToMessage()
S
60 3 13
libStrIndex()
S
60 3 12
compileChildren()
S
62 3 12
libSelectorAppend()
S
61 3 12
resolveImportPath()
S
61 3 12
mergeMaps()
S
61 3 12
adjustHsl()
S
60 3 12
libScaleColor()
S
61 3 12
libSelectorUnify()
S
61 3 12
compileDebugValue()
S
62 3 12
checkCompatibleTags()
S
62 3 12
setOutputStyle()
S
62 3 12
extractInterpolation()
S
61 3 11
set()
S
63 3 11
pushExtends()
S
62 3 11
tryImportPath()
S
63 3 11
libIsBracketed()
S
66 3 8
findTagName()
S
67 3 8
parserFactory()
S
62 3 10
isSelfExtend()
S
67 3 8
libIeHexStr()
S
64 3 8
libAlpha()
S
69 3 6
libUnquote()
S
58 2 15
coercePercent()
S
63 3 10
opNeq()
S
65 3 9
opEq()
S
65 3 9
mapGetEntryIndex()
S
64 3 9
isPseudoSelector()
S
65 3 9
libUniqueId()
S
61 3 10
libComparable()
S
64 3 10
mapHasKey()
S
64 3 9
isImmediateRelationshipCombinator()
S
78 3 3
__construct()
S
63 3 10
assertString()
S
63 3 10
setEncoding()
S
65 3 8
error()
S
66 3 9
registerFunction()
S
64 3 9
addParsedFile()
S
71 3 5
pushCallStack()
S
60 2 13
compileSelector()
S
63 2 12
pushEnv()
S
62 2 11
libSimpleSelectors()
S
62 2 11
compileImportPath()
S
62 2 11
setImportPaths()
S
62 2 11
compileKeyframeBlock()
S
57 1 16
getStoreEnv()
S
79 2 3
assertInteger()
S
67 2 7
libTransparentize()
S
66 2 7
addImportPath()
S
72 2 5
coerceString()
S
68 2 7
maybeReduce()
S
71 2 6
mapGet()
S
68 2 7
compileRGBAValue()
S
70 2 6
modifyMap()
S
70 2 6
isTruthy()
S
79 2 3
assertNumber()
S
68 2 7
libFeatureExists()
S
67 2 7
libSaturate()
S
63 2 10
assertColor()
S
68 2 7
compileDirectiveName()
S
72 2 6
getSourcePosition()
S
70 2 5
assertList()
S
68 2 7
prependSelectors()
S
67 2 8
tryImportPathAsDirectory()
S
70 2 6
tryImportPathWithExtensions()
S
65 2 10
assertMap()
S
66 2 8
libOpacify()
S
66 2 7
setFormatter()
S
67 2 7
libGrayscale()
S
67 2 7
toBool()
S
80 2 3
extractEnv()
S
69 2 7
compactEnv()
S
71 2 6
libIf()
S
68 2 7
getStringText()
S
70 2 6
coerceForExpression()
S
72 2 6
libChangeColor()
S
67 2 8
coerceMap()
S
69 2 7
libRed()
S
67 2 7
libGreen()
S
67 2 7
libBlue()
S
67 2 7
setRaw()
S
71 2 6
libOpacity()
S
69 2 7
getCompileOptions()
S
60 1 13
normalizeNativeFunctionName()
S
63 1 11
libQuote()
S
72 1 5
libCounter()
S
72 1 4
compileComment()
S
69 1 6
evalSelector()
S
78 1 3
libInspect()
S
75 1 4
flattenList()
S
74 1 4
addFeature()
S
75 1 4
libDesaturate()
S
70 1 5
libVariableExists()
S
71 1 5
libIsSuperselector()
S
69 1 6
libMixinExists()
S
71 1 5
libGlobalVariableExists()
S
71 1 5
unregisterFunction()
S
79 1 3
isCssImport()
S
78 1 3
popCallStack()
S
81 1 3
libToUpperCase()
S
69 1 6
formatOutputSelector()
S
77 1 4
libRgba()
S
79 1 3
getVariables()
S
82 1 3
registerImport()
S
77 1 3
popEnv()
S
77 1 4
setVariables()
S
76 1 4
getParsedFiles()
S
76 1 4
setLogger()
S
81 1 3
setErrorOuput()
S
75 1 4
libAdjustHue()
S
71 1 5
libLighten()
S
70 1 5
libHue()
S
70 1 5
libSelectorParse()
S
72 1 5
setIgnoreErrors()
S
76 1 4
unsetVariable()
S
80 1 3
compileRoot()
S
68 1 7
throwError()
S
69 1 7
replaceVariables()
S
76 1 4
libDarken()
S
70 1 5
libToLowerCase()
S
69 1 6
libStrLength()
S
71 1 5
libPercentage()
S
71 1 5
opEqNumberNumber()
S
80 1 3
libMapValues()
S
71 1 5
libMapKeys()
S
71 1 5
setNumberPrecision()
S
76 1 4
libFadeIn()
S
80 1 3
opLtNumberNumber()
S
80 1 3
libFadeOut()
S
80 1 3
opNeqNumberNumber()
S
79 1 3
setLineNumberStyle()
S
76 1 4
libLength()
S
73 1 4
opGteNumberNumber()
S
80 1 3
opGtNumberNumber()
S
80 1 3
libAbs()
S
73 1 4
libCeil()
S
73 1 4
libFloor()
S
73 1 4
libRound()
S
73 1 4
libHsla()
S
79 1 3
setCharset()
S
81 1 3
has()
S
78 1 3
libLightness()
S
70 1 5
setSourceMapOptions()
S
81 1 3
getBuiltinFunction()
S
75 1 4
libUnitless()
S
74 1 4
libUnit()
S
74 1 4
libComplement()
S
77 1 3
libTypeOf()
S
75 1 4
normalizeName()
S
79 1 3
opModNumberNumber()
S
80 1 3
opAddNumberNumber()
S
80 1 3
opMulNumberNumber()
S
80 1 3
isNativeFunction()
S
78 1 3
opSubNumberNumber()
S
80 1 3
setSourceMap()
S
81 1 3
opDivNumberNumber()
S
80 1 3
opLteNumberNumber()
S
80 1 3
libSaturation()
S
70 1 5